<?php if(has_post_thumbnail()) { ?>
	<div style="width: 300px; float: right; margin: 0px; margin-left: 20px; margin-bottom: 10px; border: #cccccc 3px solid;">
		<?php the_post_thumbnail();?>
	</div>
<?php } else { ?>
	<div style="width: 300px; float: right; margin: 0px; margin-left: 20px; margin-bottom: 10px; border: #cccccc 3px solid;">
		<img src="http://www.sunmaxxsolar.com/images/pr-logo.jpg" align="right" width="300" alt="<?php the_title(); ?> Main Image" style="margin-left: 20px; margin-bottom: 10px; border: #cccccc 3px solid;" />
	</div>
<?php } ?>